import Vue from "vue"
import App from "./App"

import "./tools/vue-global"
import "./tools/filter"
import config from "./config"
import axios from "./tools/request"
import store from "./store"

import uView from "uview-ui"

Vue.config.productionTip = false

App.mpType = "app"

Vue.use(config)
Vue.use(axios)
Vue.use(store)

Vue.use(uView)

uni.$u.setConfig({
	config: {
		unit: "px",
	},
	props: {},
})

const app = new Vue({
	...App,
})
app.$mount()

export default app
